package com.tarena.lbs.basic.web.mapper;


import com.tarena.lbs.pojo.basic.dos.StoreDO;
import com.tarena.lbs.pojo.basic.query.StoreQuery;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface StoreMapper {
    int deleteByPrimaryKey(Integer id);

    int shopAdd(StoreDO storeDO);

    int enableStatusById(Integer id);

    int disableStatusById(Integer id);

    StoreDO selectByPrimaryKey(Integer id);

    List<StoreDO> selectByAddressId(List<Integer> list);

    List<StoreDO> selectByIdList(List<Long> list);

    int updateByPrimaryKeySelective(StoreDO storeDO);

    List<StoreDO> selectAll(StoreQuery storeQuery);

    List<StoreDO> selectByBuIdcon(Integer businessId);
}